<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
{% if student.age >= 18 %}
    {{ student.name }}是成年人
    {% else %}
    {{ student.name }}不是成年人

{% endif %}
</body>
</html>